import type { RouteRecordRaw } from 'vue-router'
import type { CategoryObj } from '@/api/user/type'
export interface UserState {
  token: string | null
  menuRoutes: RouteRecordRaw[]
}

export interface PermissionState {
  token: string | null
  menuRoutes: RouteRecordRaw[]
  sidebarMenuList: []
  // dynamicHome: ''
  // dynamicMenuRoutes: []
  // dynamicMenuRoutesHasAdded: []
  // token: ''
  // isDefaultPwd: ''
  // userRoles: []
  // userMessage: {}
  // buttons: []
}
export interface CategoryState{
  ci1i:string|number
  c1Arr:CategoryObj[]

}

/* AuthState */
export interface SettingsState {
  collapse: boolean
  refresh: boolean
  themeConfig: ThemeConfigProps
}

export interface ThemeConfigProps {
  primary: string
  isDark: boolean
}
